<section>
  <form #form="ngForm" fuiForm labelFlex="1" inputFlex="4">
    <fui-form-item label="Password">
      <fui-input name="password" ngModel #password="ngModel" required></fui-input>
    </fui-form-item>
    <fui-form-item label="Confirm Password">
      <fui-input name="confirmPassword" ngModel required [fuiEqualPassword]="password.value"></fui-input>
    </fui-form-item>
    <fui-form-item>
      <button fuiBtn="primary" [disabled]="form.invalid">Confirm</button>
    </fui-form-item>
  </form>

</section>
